package com.hsfw.dbmodule.cypher;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
public interface Neo4jCypher {
    //查询攻击链
    public List<HashMap> slaveneo4jSearch(@Param("startNode") String startNode, @Param("endParm") String endParm,
                                          @Param("whereMap") List<HashMap> whereMap);

    //查询实体类型提供字典使用
    public List<HashMap> slaveDictionaryMatch();

    //查询单实体多属性
    public List<HashMap> slaveSingleEntityMoreNature(@Param("startNode") String startNode, @Param("endParm") String endParm,
                                                     @Param("whereMap") List<HashMap> whereMap);

    public List<HashMap> slaveGetGraphsPathByNode(@Param("startNodeType") String startNodeType,
                                                  @Param("startNodeId") String startNodeId);
}
